package com.jindy.module.additionalDeposit.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 追加押金申请对象 sy_additional_deposit
 * 
 * @author jindy
 * @date 2023-05-25
 */
public class SyAdditionalDeposit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 流水单号 */
    @Excel(name = "流水单号")
    private String serialNum;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 追加金额 */
    @Excel(name = "追加金额")
    private BigDecimal additionalAccount;

    /** 收款账户 */
    @Excel(name = "收款账户")
    private String collectionAccount;

    /** 附件 */
    @Excel(name = "附件")
    private String enclosure;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 业务状态 */
    @Excel(name = "业务状态")
    private String businessStatus;

    /** 申请人id */
    @Excel(name = "申请人id")
    private Long applyUserId;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyUserName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialNum(String serialNum) 
    {
        this.serialNum = serialNum;
    }

    public String getSerialNum() 
    {
        return serialNum;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setAdditionalAccount(BigDecimal additionalAccount) 
    {
        this.additionalAccount = additionalAccount;
    }

    public BigDecimal getAdditionalAccount() 
    {
        return additionalAccount;
    }
    public void setCollectionAccount(String collectionAccount) 
    {
        this.collectionAccount = collectionAccount;
    }

    public String getCollectionAccount() 
    {
        return collectionAccount;
    }
    public void setEnclosure(String enclosure) 
    {
        this.enclosure = enclosure;
    }

    public String getEnclosure() 
    {
        return enclosure;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setBusinessStatus(String businessStatus) 
    {
        this.businessStatus = businessStatus;
    }

    public String getBusinessStatus() 
    {
        return businessStatus;
    }
    public void setApplyUserId(Long applyUserId) 
    {
        this.applyUserId = applyUserId;
    }

    public Long getApplyUserId() 
    {
        return applyUserId;
    }
    public void setApplyUserName(String applyUserName) 
    {
        this.applyUserName = applyUserName;
    }

    public String getApplyUserName() 
    {
        return applyUserName;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNum", getSerialNum())
            .append("projectName", getProjectName())
            .append("orderNo", getOrderNo())
            .append("customerName", getCustomerName())
            .append("additionalAccount", getAdditionalAccount())
            .append("collectionAccount", getCollectionAccount())
            .append("enclosure", getEnclosure())
            .append("type", getType())
            .append("businessStatus", getBusinessStatus())
            .append("applyUserId", getApplyUserId())
            .append("applyUserName", getApplyUserName())
            .append("applyTime", getApplyTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
